<html> 
<head> 
<title>哲学净土</title>
</head> 
<body>
<input type="button" onclick="loadURl()" value="跳转" style="height:100px;width:200px;font-size:20px "/>
<input type="button" onclick="showAlert()" value="警告" style="height:100px;width:200px;font-size:20px"/>
<input type="button" onclick="showConfirm()" value="确认" style="height:100px;width:200px;font-size:20px"/>
<input type="button" onclick="showPrompt()" value="输入" style="height:100px;width:200px;font-size:20px"/>
</body>
<script type="text/Javascript">
function loadURl()
{
<!--document.location = "http://www.baidu.com"-->
document.location ="js://webview?arg1=111&arg2=222";
}

function showAlert(){
alert("js://jumpToActivityB?id=13451")
}

function showConfirm(){
var res = confirm("请选择")
if(res == true){
document.write("你点击了确定")
}
else{
document.write("你点击了取消")
}
}
function showPrompt(){
var name = prompt("js://getName")
if(name!=null&&name!=""){
document.write("hello"+name)
}
}

</script>
</html>